package main;

import observerNotification.ObserverNotification;


/**
 * Used to transfer a warning message to GUI. A warning message implies a yes/no dialog
 * 
 * <p>
 * <ul>
 * <li>Project: 	ChatSystemG3</li>
 * <li>Called by: 		view.*, controller.*</li>
 * </ul>
 * </p>
 * 
 * @author COMBES Nicolas - LECHANTRE Arnaud
 * @see ObserverNotification
 */
public class Notification {

	/**
	 * Warning message to display
	 */
	private String message;		//Warning message to display to the user
	
	/**
	 * construct
	 * @param message : Warning message to display to the user
	 */
	public Notification(String message){
		this.message=message;
	}
	
	/**
	 * getMessage
	 * @return the warning message to be displayed to the user
	 */
	public String getMessage(){
		return this.message;
	}
}
